#!/bin/sh

source /usr/local/angstrom/arm/environment-setup
./configure --host=arm-angstrom-linux-gnueabi --prefix=$1 --with-protoc=`which protoc`
make ARCH=arm CROSS_COMPILE=arm-angstrom-linux-gnueabi-
make ARCH=arm CROSS_COMPILE=arm-angstrom-linux-gnueabi- install
